package com.game.core.res
{
	public class Resource
	{
		public static function getResource(id:String):GameResource
		{
			var resMgr : ResourceManager = ResourceManager.getInstance();
			var res : GameResource = resMgr.getResource(id);
			
			if(!res)
			{
				res = resMgr.createResource(id);
			}
			
			return res;
		}
		
		public function Resource()
		{
		}
	}
}